import userController from './controller/user';
import ssrController from './controller/ssr';

export default function(app) {
  // app.get('/', require('./controller/home').index);
  app.get('/api/v1/user/one', userController.one);
  //服务端渲染
  app.get('*',ssrController.ssrString);
  // app.get('*',ssrController.ssrStream);
}
